package com.ruoyi.system.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户管理对象 user
 *
 * @author ruoyi
 * @date 2023-05-10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long userId;

    /**
     * 昵称
     */
    @Excel(name = "昵称")
    private String username;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String password;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    private Long phonenumber;

    /**
     * 邮箱
     */
    @Excel(name = "邮箱")
    private String email;

    /**
     * 真实姓名
     */
    @Excel(name = "真实姓名")
    private String name;

    /**
     * 性别：1（男）2（女）
     */
    @Excel(name = "性别：1", readConverterExp = "男=")
    private Long gender;

    private String headpicture;
    /**
     * 用户头像 前端接值
     */
    @Excel(name = "用户头像")
    private String headpictureimge;

}
